package com.dongdongshop.service;

import com.dongdongshop.pojo.PageResult;
import com.dongdongshop.pojo.TbBrand;

import java.util.List;

public interface TbBrandService {

    //查询全部品牌列表
    PageResult<TbBrand> TbBrandshowall( Integer pageNum,Integer pageSize);

    //添加品牌
    void addBrand(TbBrand tbBrand);

    //回显单个品牌数据
    TbBrand showecho(Long id);

    //修改单个数据
    void updateBrand(TbBrand tbBrand);

    //删除单个数据
    void deleteBrand(Long id);

    //删除多个数据
    void deleteallBrand(List<Long> ids);

    //查询全部品牌列表
    List<TbBrand> TbBrandshow();

}
